.Net Framework > v3.5.21022.8 > System > Data > Linq > DataContext > DataContext DataContext(IDbConnection)
DataContext(IDbConnection,MappingSource)
DataContext(String)
DataContext(String,MappingSource)


DataContext(IDbConnection)

Category
Constructor
Description
Initializes a new instance of the System.Data.Linq.DataContext class by referencing the connection used by the .NET Framework.
Type
void
Character
public
Parameters
NameTypeDescription
connectionIDbConnection
Tags
0104BC7FDA, 02E3ABA98D, 0322962271

DataContext(IDbConnection,MappingSource)

Category
Constructor
Description
Initializes a new instance of the System.Data.Linq.DataContext class by referencing a connection and a mapping source.
Type
void
Character
public
Parameters
NameTypeDescription
connectionIDbConnection
mappingMappingSource
Tags
0104BC7FDA, 02E3ABA98D, 0322962271

DataContext(String)

Category
Constructor
Description
Initializes a new instance of the System.Data.Linq.DataContext class by referencing a file source.
Type
void
Character
public
Parameters
NameTypeDescription
fileOrServerOrConnectionString
Tags
0104BC7FDA, 02E3ABA98D, 0322962271

DataContext(String,MappingSource)

Category
Constructor
Description
Initializes a new instance of the System.Data.Linq.DataContext class by referencing a file source and a mapping source.
Type
void
Character
public
Parameters
NameTypeDescription
fileOrServerOrConnectionString
mappingMappingSource
Tags
0104BC7FDA, 02E3ABA98D, 0322962271

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database